<template>
	<view>
		<view class="settingCon">
			<view class="setItem" @tap="goto('pages/owns/setting/userInfo')">
				<text>个人信息</text>
				<view class="iconfont icon-youjiantouright">
				</view>
			</view>
			<view class="setItem">
				<text>绑定手机</text>
				<view class="right">
					<text>198****2223</text>
					<text class="greyP">更换</text>
				</view>
			</view>
			<view class="setItem">
				<text>修改密码</text>
				<view class="iconfont icon-youjiantouright">
				</view>
			</view>
			<view class="setItem" @tap="goto('pages/owns/setting/userAgreement')">
				<text>用户协议</text>
				<view class="iconfont icon-youjiantouright">
				</view>
			</view>
			<view class="setItem" @tap="goto('pages/owns/setting/privacyPolicy')">
				<text>隐私政策</text>
				<view class="iconfont icon-youjiantouright">
				</view>
			</view>
			<view class="setItem" @tap="goto('pages/owns/setting/aboutUs')">
				<text>关于我们</text>
				<view class="iconfont icon-youjiantouright">
				</view>
			</view>
			<view class="setItem" @tap="goto('pages/owns/setting/feedback')">
				<text>意见反馈</text>
				<view class="iconfont icon-youjiantouright">
				</view>
			</view>
			<view class="setItem">
				<text>版本信息</text>
				<text class="greyP version">v1.0.0</text>
			</view>
			<view class="setItem setItem2" @tap="goto('pages/owns/setting/accountDeletion')">
				<text>账号注销</text>
				<view class="iconfont icon-youjiantouright">
				</view>
			</view>
		</view>
		<view class="commonBtn">
			<view class="btnCon">
				<text>退出登录</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.greyP{
		color: rgba(152, 160, 166, 1);
	}
	
	.settingCon {
		border-radius: 20rpx;
		background: rgba(255, 255, 255, 1);
		margin: 32rpx;

		.setItem {
			font-size: 32rpx;
			font-weight: 500;
			height: 108rpx;
			border-bottom: 2rpx solid rgba(235, 235, 235, 1);
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 0 32rpx;

			.right {
				display: flex;
				align-items: center;

				text:nth-child(2) {
					font-size: 24rpx;
					font-weight: 400;
					margin-left: 32rpx;
				}
			}
		}

		.setItem2 {
			border-bottom: none;
		}
		
		.version{
			font-size: 24rpx;
			font-weight: 400;
		}
	}
</style>